import { useRoutes } from 'react-router'
import routes from './routes'

// 路由组件
function Router() {
    const element = useRoutes(routes)
    return element
}

export default Router